package com.wayin.lift.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;


/**
 * 考勤表
 *
 * @author HYXK
 * @email null@qq.com
 * @date 2020-05-26 09:56:38
 */
@Data
@TableName("clock_in")
@ApiModel
public class ClockInEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 表id
	 */
	@ApiModelProperty(value = "表id")
	@TableId
	private Long cId;
	/**
	 * 人员id
	 */
	@ApiModelProperty(value = "人员id")
	private Long pId;
	/**
	 * 考勤日期
	 */
	@ApiModelProperty(value = "考勤日期")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
	private Date cDate;
	/**
	 * 考勤时间
	 */
	@ApiModelProperty(value = "考勤时间")
	@JsonFormat(pattern = "HH:mm:ss", timezone="GMT+8")
	private Date cTime;
	/**
	 * 温度
	 */
	@ApiModelProperty(value = "温度")
	private String temperature;
	/**
	 * 考勤类型 0为上班打卡1为下班打卡
	 */
	@ApiModelProperty(value = "考勤类型 0为上班打卡1为下班打卡")
	private String type;
	/**
	 * 考勤状态 0为正常1为异常
	 */
	@ApiModelProperty(value = "考勤状态 0为正常1为异常")
	private String state;

}
